Personalization Options
-
PersonalizationOption represents a Voucher customization which will be available to the user in the VoucherCreationViewController. A PersonalizationOption should exist for each personalization the user allowed access to.
Note
PersonalizationOption is used as a base class, instantiate an existing subclass (ex. PhotoPersonalizationOption) for use.See moreNote
Any properties that are not set will have default values set.Declaration
Objective-C
@interface PersonalizationOption : NSObjectSwift
class PersonalizationOption : NSObject
-
MoneyPersonalizationOption represents a Voucher customization which enables the user to add a monetary component to the MutableVoucher. The default implementation of this personalization is a Gift Card Mall. Override this personalization if a custom payment technology is desired.
See more
*Declaration
Objective-C
@interface MoneyPersonalizationOption : PersonalizationOptionSwift
class MoneyPersonalizationOption : PersonalizationOption
-
NotePersonalizationOption represents a Voucher customization which will be available to the user to add notes in the VoucherCreationViewController. Instantiate a NotePersonalizationOption if you would like the user to be able to add notes to their Voucher.
See more
*Declaration
Objective-C
@interface NotePersonalizationOption : PersonalizationOptionSwift
class NotePersonalizationOption : PersonalizationOption
-
ChallengePersonalizationOptionrepresents aVouchercustomization which will allow users to add a challenge. Instantiate aChallengePersonalizationOptionif a challenge can be added to theirVoucher.
See more
*Declaration
Objective-C
@interface ChallengePersonalizationOption : PersonalizationOptionSwift
class ChallengePersonalizationOption : PersonalizationOption
-
AnimatedPersonalizationOptionrepresents aVouchercustomization that allows the user to add animated images to theirVoucher. Instantiate aAnimatedPersonalizationOptionand include it in theVoucherCreationViewControllersetup if you would like the user to be able to add animated photos.
See more
*Declaration
Objective-C
@interface AnimatedPersonalizationOption : PersonalizationOptionSwift
class AnimatedPersonalizationOption : PersonalizationOption
-
WrappingPersonalizationOptionrepresents aVouchercustomization which will be available to the user to add a custom wrapping paper in theVoucherCreationViewController.
See more
*Declaration
Objective-C
@interface WrappingPersonalizationOption : PersonalizationOptionSwift
class WrappingPersonalizationOption : PersonalizationOption
-
PhotoPersonalizationOption represents a
Vouchercustomization that allows the user to add images to theirVoucher. Instantiate a PhotoPersonalizationOption and include it in theVoucherCreationViewControllersetup if you would like the user to be able to add photos.
See more
*Declaration
Objective-C
@interface PhotoPersonalizationOption : PersonalizationOptionSwift
class PhotoPersonalizationOption : PersonalizationOption
-
VideoPersonalizationOption represents a Voucher customization which will be available to the user to add videos in the VoucherCreationViewController. Instantiate a VideoPersonalizationOption if you would like the user to be able to add videos to their Voucher.
See more
*Declaration
Objective-C
@interface VideoPersonalizationOption : PersonalizationOptionSwift
class VideoPersonalizationOption : PersonalizationOption
-
RecipientPersonalizationOption represents a Voucher customization which will be available to the user to add a recipient to the MutableVoucher. Instantiate a RecipientPersonalizationOption if you would like the user to be able to add a recipient to their Voucher.
See more
*Declaration
Objective-C
@interface RecipientPersonalizationOption : PersonalizationOptionSwift
class RecipientPersonalizationOption : PersonalizationOption
-
TitlePersonalizationOption represents a
Vouchercustomization which will allow users to title theirVoucher. Instantiate aTitlePersonalizationOptionand include it in theVoucherCreationViewControllersetup if you would like the user to be able to add a title to their Voucher.Note
The title uses the Display font Style. Title and placeholder text colors are non-customizable.
See more
*Declaration
Objective-C
@interface TitlePersonalizationOption : PersonalizationOptionSwift
class TitlePersonalizationOption : PersonalizationOption
-
SoundPersonalizationOptionrepresents aVouchercustomization which will be available to the user to add a sound to theMutableVoucher. Instantiate aSoundPersonalizationOptionif you would like the user to be able to add a sound to theirVoucher.
See more
*Declaration
Objective-C
@interface SoundPersonalizationOption : PersonalizationOptionSwift
class SoundPersonalizationOption : PersonalizationOption
-
See morePersonalizationOptionViewControllerDelegateis the delegate used for passing information between all of the default personalization option view controllers and theVoucherCreationViewController. If an extra personalization option view controller is created, it should call these delegate methods where appropriate.Declaration
Objective-C
@protocol PersonalizationOptionViewControllerDelegate <NSObject>Swift
protocol PersonalizationOptionViewControllerDelegate -
See morePersonalizationOptionViewControllerProtocolis the interface for all of the default personalization option view controllers.Declaration
Objective-C
@protocol PersonalizationOptionViewControllerProtocol <NSObject>Swift
protocol PersonalizationOptionViewControllerProtocol
View on GitHub
Personalization Options Reference